![]() |
SetString |
||||
Header: | TextUtils.h | Carbon status: | Supported | |
Changes the contents of a string referenced by a string handle, replacing the previous contents by copying the specified string.
void SetString ( StringHandle theString, ConstStr255Param strNew );
A Pascal string.
A handle to the string in memory whose contents you are replacing. If the new string (theString) is larger than the string originally referenced by strNew, SetString automatically resizes the handle and copies in the contents of the specified string.
SetString may move memory; your application should not call this function at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)